
package com.starmark.core.framework.base;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;
import java.util.Map;

/**
 * @author starmark
 * @version 2018年6月3日 下午2:30:14
 */
public interface SuperMapper<T extends BaseModel> extends BaseMapper<T> {

    List<String> selectIdPage(@Param("cm") T params);

    List<String> selectIdPage(@Param("cm") Map<String, Object> params);

    List<String> selectIdPage(RowBounds rowBounds, @Param("cm") Map<String, Object> params);

    List<String> selectIdPage(RowBounds rowBounds, @Param("cm") T params);
}
